package com.szu.smart_illustrator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Builder;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-11-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *  
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
    *  用户邮箱
    */
    @TableField("`email`")
    private String email;

    /**
    *  密码
    */
    @TableField("`passwd`")
    private String passwd;

    /**
    *  昵称
    */
    @TableField("`name`")
    private String name;

    /**
    *  头像地址
    */
    @TableField("avatarUrl")
    private String avatarUrl;

    /**
     * 验证码
     *
     */
    @TableField("verificationCode")
    String verificationCode;
}
